<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
	
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script type="text/javascript" src="${ctx}/js/system/product/edit.js"></script>

<div class="hk_business hk_b_edit">
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		action="${ctx}/product/editEntity.shtml">
		<input type="hidden" class="form-control checkacc"
			value="${productFormMap.id}" name="productFormMap.id" id="id">
		<section class="panel panel-default">
		<div class="panel-body">
			<div class="form-group">
				<label class="col-sm-3 control-label">产品名称：</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc"
						placeholder="请输入产品名称" name="productFormMap.name" id="name"
						value="${productFormMap.name}" 
						>
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品描述： </label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc"
						placeholder="请输入产品描述" name="productFormMap.description" id="description"
						value="${productFormMap.description}" 
						>
				</div>
			</div>

			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">价格： </label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc"
						placeholder="请输入价格" name="productFormMap.price" id="price"
						value="${productFormMap.price}" 
						>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">网址： </label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc"
						placeholder="请输入网址" name="productFormMap.url" id="url"
						value="${productFormMap.url}" 
						>
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">版本： </label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc"
						placeholder="请输入版本" name="productFormMap.version" id="version"
						value="${productFormMap.version}" 
						
						>
				</div>
			</div>
			
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">销售方式： </label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc"
						placeholder="请输入销售方式" name="productFormMap.sell_way" id="sell_way"
						value="${productFormMap.sell_way}" 
						>
				</div>
			</div>
		
			<footer class="panel-footer text-right bg-light lter">
			<button type="submit" class="btn btn-success btn-s-xs">提交</button>
			</footer>
		</section>
	</form>
</div>